package com.ruoyi.binance.service;

import java.util.List;
import com.ruoyi.binance.domain.BinanceHourAverage;

/**
 * 实时每时均价数据Service接口
 * 
 * @author zq
 * @date 2025-08-07
 */
public interface IBinanceHourAverageService 
{
    /**
     * 查询实时每时均价数据
     * 
     * @param code 实时每时均价数据主键
     * @return 实时每时均价数据
     */
    public BinanceHourAverage selectBinanceHourAverageByCode(String code);

    /**
     * 查询实时每时均价数据列表
     * 
     * @param binanceHourAverage 实时每时均价数据
     * @return 实时每时均价数据集合
     */
    public List<BinanceHourAverage> selectBinanceHourAverageList(BinanceHourAverage binanceHourAverage);

    /**
     * 新增实时每时均价数据
     * 
     * @param binanceHourAverage 实时每时均价数据
     * @return 结果
     */
    public int insertBinanceHourAverage(BinanceHourAverage binanceHourAverage);

    /**
     * 修改实时每时均价数据
     * 
     * @param binanceHourAverage 实时每时均价数据
     * @return 结果
     */
    public int updateBinanceHourAverage(BinanceHourAverage binanceHourAverage);

    /**
     * 批量删除实时每时均价数据
     * 
     * @param codes 需要删除的实时每时均价数据主键集合
     * @return 结果
     */
    public int deleteBinanceHourAverageByCodes(String[] codes);

    /**
     * 删除实时每时均价数据信息
     * 
     * @param code 实时每时均价数据主键
     * @return 结果
     */
    public int deleteBinanceHourAverageByCode(String code);
}
